package com.example.joblinker.entity;

import lombok.Data;
import com.baomidou.mybatisplus.annotation.TableField;
import java.time.LocalDateTime;

@Data
public class Resume {
    private Long id;
    private Long userId;
    private String name;
    private String phone;
    private String email;
    private Integer age;
    private String gender;
    private String education;
    private String school;
    private String major;
    private Integer graduationYear;
    private String workExperience;
    private String projectExperience;
    private String skills;
    private String certificates;
    private String selfEvaluation;
    private String attachmentUrl;
    private Integer status; // 0-草稿 1-发布
    private Boolean isDefault; // 是否是默认简历
    private LocalDateTime createTime;
    private LocalDateTime updateTime;
    
    // 新增字段
    private String title; // 简历标题
    private String location; // 所在城市
    private String birthday; // 出生日期
    private String workYears; // 工作年限
    private String jobExpectation; // 求职期望(JSON格式)
    private String schoolStartDate; // 教育背景的在校开始时间
    private String schoolEndDate; // 教育背景的在校结束时间
    private String schoolExperience; // 在校经历
    private String languages; // 语言能力
    @TableField(exist=false)
    private String jobTitle; // 求职期望的职位名称
} 